package com.kevis.zhunblog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.kevis.zhunblog.core.dto.PageDomain;
import com.kevis.zhunblog.core.entities.AdminEntity;
import com.kevis.zhunblog.core.entities.RoleEntity;

import java.util.List;

/**
 *
 */
public interface AdminService extends IService<AdminEntity> {
    /**
     * Describe: 查询用户数据
     * Param: queryRoleParam
     * Return: 操作结果
     */
    List<AdminEntity> list(AdminEntity queryRoleParam);

    /**
     * Describe: 分页查询用户数据
     * Param: queryRoleParam
     * Param: pageDomain
     * Return: 操作结果
     */
    PageInfo<AdminEntity> page(AdminEntity param, PageDomain pageDomain);
}
